package org.soc.timesheet.server.domain.service;
import java.util.List;

import org.soc.timesheet.custom.domain.filters.RolesFilter;
import org.soc.timesheet.domain.Roles;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.roo.addon.layers.service.RooService;

@RooService(domainTypes = { org.soc.timesheet.domain.Roles.class })
public interface RolesService {

	public abstract long countAllRoleses();


	public abstract void deleteRoles(Roles roles);


	public abstract Roles findRoles(Integer id);


	public abstract List<Roles> findAllRoleses();


	public abstract List<Roles> findRolesEntries(int firstResult, int maxResults);


	public abstract void saveRoles(Roles roles);


	public abstract Roles updateRoles(Roles roles);


	public abstract Page<Roles> findAll(PageRequest pageRequest);


	public abstract Page<Roles> findByFilters(RolesFilter filter,
			PageRequest pageRequest);

}
